﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Core.Xml
{
    interface IXmlType
    {
        /// <summary>
        /// Creates the XElement of the instance with the given name.
        /// </summary>
        /// <param name="elementName">The name of the XElement</param>
        /// <returns>XElement of the instance with the given name</returns>
        XElement CreateXElement(XName elementName);
    }
}
